<g:if test="${reportList.size() > 0}">
    <meta charset="utf-8">
    <style type="text/css">
    th {
        width: 9em;
    }

    tr, td {
        border: 1px #ADBFCD solid;
    }

    .odd {
        background-color: #EBEBEB;
    }
    </style>
    <table class="table table-bordered table-hover table-striped table-top" data-selected-multi="true"
           data-toggle="tablefixed" data-width="100%">
        <thead>
        <tr>
            <th width="50" rowspan="3">NO.</th>
            <th width="125">部件号</th>
            <th width="125">箱号</th>
            <th width="125">订单号</th>
            <th width="125">装运日期</th>
            <th width="125">装运数量</th>
            <th width="125">生产日期</th>
            <th width="125">生产数量</th>
            <th width="500" colspan="4">线痕</th>
            <th width="500" colspan="4">对角线</th>
            <th width="500" colspan="4">切方对面距离A</th>
            <th width="500" colspan="4">切方脚长度D</th>
            <th width="500" colspan="4">硅片厚度</th>
            <th width="500" colspan="4">TTV</th>
            <th width="500" colspan="4">切方垂直度</th>
            <th width="500" colspan="4">弯曲/翘曲</th>
            <th width="250" colspan="2">寿命</th>
            <th width="500" colspan="4">电阻率</th>
            <th width="125">氧含量</th>
            <th width="125">碳含量</th>
            <th width="125">判定结果</th>
        </tr>
        <tr>
            <th width="125">REC Part Number</th>
            <th width="125">BOX Lot#</th>
            <th width="125">REC PO</th>
            <th width="125">Shipment Date</th>
            <th width="125">Shipment Quantity</th>
            <th width="125">Production date</th>
            <th width="125">Production date Quantity</th>
            <th width="125">Sawmark Depth (um) Max</th>
            <th width="125">Sawmark Depth (um) Min</th>
            <th width="125">Sawmark Depth (um) Average</th>
            <th width="125">Sawmark Depth (um) Std Dev</th>
            <th width="125">Diagonal Length (mm) Max</th>
            <th width="125">Diagonal Length (mm) Min</th>
            <th width="125">Diagonal Length (mm) Average</th>
            <th width="125">Diagonal Length (mm) Std Dev</th>
            <th width="125">Wafer Width (mm) Flat to Flat length Max</th>
            <th width="125">Wafer Width (mm) Flat to Flat length Min</th>
            <th width="125">Wafer Width (mm) Flat to Flat length Average</th>
            <th width="125">Wafer Width (mm) Flat to Flat length Std Dev</th>
            <th width="125">Bevel Width (mm) Corner Length Max</th>
            <th width="125">Bevel Width (mm) Corner Length Min</th>
            <th width="125">Bevel Width (mm) Corner Length Average</th>
            <th width="125">Bevel Width (mm) Corner Length Std Dev</th>
            <th width="125">Wafer Thickness (um) Max</th>
            <th width="125">Wafer Thickness (um) Min</th>
            <th width="125">Wafer Thickness (um) Average</th>
            <th width="125">Wafer Thickness (um) Std Dev</th>
            <th width="125">Total Thickness Variation (TTV)(um) Max</th>
            <th width="125">Total Thickness Variation (TTV)(um) Min</th>
            <th width="125">Total Thickness Variation (TTV)(um) Average</th>
            <th width="125">Total Thickness Variation (TTV)(um) Std Dev</th>
            <th width="125">Angle between adjacent sides (degrees) Ingot Squareness Max</th>
            <th width="125">Angle between adjacent sides (degrees) Ingot Squareness Min</th>
            <th width="125">Angle between adjacent sides (degrees) Ingot Squareness Average</th>
            <th width="125">Angle between adjacent sides (degrees) Ingot Squareness Std Dev</th>
            <th width="125">Bow (mm) Max</th>
            <th width="125">Bow (mm) Min</th>
            <th width="125">Bow (mm) Average</th>
            <th width="125">Bow (mm) Std Dev</th>
            <th width="125">Lifetime (us) Max</th>
            <th width="125">Lifetime (us) Min</th>
            <th width="125">Resistivity (Ohm cm) Max</th>
            <th width="125">Resistivity (Ohm cm) Min</th>
            <th width="125">Resistivity (Ohm cm) Average</th>
            <th width="125">Resistivity (Ohm cm) Std Dev</th>
            <th width="125">Oxygen Content (at/cm3)</th>
            <th width="125">Carbon Content (at/cm3)</th>
            <th width="125">Pass or Fail</th>
        </tr>
        <tr>
            <th width="125"></th>
            <th width="125"></th>
            <th width="125"></th>
            <th width="125"></th>
            <th width="125"></th>
            <th width="125"></th>
            <th width="125"></th>
            <th width="125">≤ 15</th>
            <th width="125">≤ 15</th>
            <th width="125">≤ 15</th>
            <th width="125">-</th>
            <th width="125">≤ 227.25</th>
            <th width="125">≥ 226.75</th>
            <th width="125">227±0.25</th>
            <th width="125">-</th>
            <th width="125">≤ 162.25</th>
            <th width="125">≥ 161.75</th>
            <th width="125">162.00±0.25</th>
            <th width="125">-</th>
            <th width="125">≤ 1.96</th>
            <th width="125">≥ 1.02</th>
            <th width="125">1.49±0.47</th>
            <th width="125">-</th>
            <th width="125">≤ 180</th>
            <th width="125">≥ 150</th>
            <th width="125">160+20/-10</th>
            <th width="125">-</th>
            <th width="125">≤ 30</th>
            <th width="125">≤ 30</th>
            <th width="125">≤ 30</th>
            <th width="125">-</th>
            <th width="125">≤ 90.2</th>
            <th width="125">≥ 89.8</th>
            <th width="125">90°±0.2°</th>
            <th width="125">-</th>
            <th width="125">≤ 50</th>
            <th width="125">≤ 50</th>
            <th width="125">≤ 50</th>
            <th width="125">-</th>
            <th width="125"></th>
            <th width="125"></th>
            <th width="125">≤ 2.1</th>
            <th width="125">≥ 0.3</th>
            <th width="125">0.3～2.1</th>
            <th width="125">-</th>
            <th width="125">≤ 8×10E+17</th>
            <th width="125">≤ 5×10E+16</th>
            <th width="125">-</th>
        </tr>
        </thead>
        <tbody>
        <g:each in="${reportList}" status="i" var="dataInstance">
            <tr data-id="data">
                <td>${i + 1}</td>
                <g:each in="${tableHeadList}" status="j" var="headInstance">
                    <g:if test="${headInstance != 'RN'}">
                        <td>${dataInstance[headInstance]}</td>
                    </g:if>
                </g:each>
            </tr>
        </g:each>
        </tbody>
    </table>
</g:if>